﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Hotel2.management
{
    public partial class eventsCancel : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            eventCancelReturn.Visible = false;
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            cancelQuestion.Text = "Event has been Cancelled";
            eventCancelYes.Visible = false;
            eventCancelNo.Visible = false;
            eventCancelReturn.Visible = true;
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            cancelQuestion.Text = "Event has not been Cancelled";
            eventCancelYes.Visible = false;
            eventCancelNo.Visible = false;
            eventCancelReturn.Visible = true;
        }

        protected void Return_Click(object sender, EventArgs e)
        {
            Response.Redirect("eventsAll.aspx");
        }
    }
}